package com.atguigu.boot04;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;

import javax.sql.DataSource;

@ServletComponentScan(basePackages = "com.atguigu.boot04.servlet")	// web原生组件的注入注解
@SpringBootApplication
public class Boot04ThymeleafApplication {


	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(Boot04ThymeleafApplication.class, args);
	}

}
